package com.ftg.learn.util;

/**
 * 描述     提示信息封装类
 *
 * @author 布衣
 * @date 2024/7/31
 */
public enum R {

    INSERT_SUCCESS("添加成功"),
    INSERT_FAIL("添加失败"),
    UPDATE_SUCCESS("修改成功"),
    UPDATE_FAIL("修改失败"),
    DELETE_SUCCESS("删除成功"),
    DELETE_FAIL("删除失败"),
    QUERY_SUCCESS("查询成功"),
    QUERY_FAIL("查询失败");

    private String msg;

    R(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

}
